import Vue from 'vue'
import Vuex from 'vuex'
import routeModule from './routeModule'
Vue.use(Vuex)
import persistedState from 'vuex-persistedstate'
export default new Vuex.Store({
  state: {
    tokenObj:{},
    Mixins:{}
  },
  getters: {
  },
  mutations: {
    addToken(state,obj){
      state.tokenObj = obj
    },
    addMixins(state,obj){
      state.Mixins = obj
    }
  },
  actions: {
  },
  modules: {
    routeModule
  },
  plugins: [persistedState()]
})
